package com.redstar.interesting.common.starter.mutiDataSource2;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.NestedConfigurationProperty;
import org.springframework.context.annotation.Configuration;

import java.util.List;
import java.util.Properties;

/**
 * @author lihongxing
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "spring.datasource.druid.customer")
public class MultiDataSourceProperties extends Properties {
    private static final long serialVersionUID = 4191485358262743799L;


    @NestedConfigurationProperty
    private List<BaseDataSourceConfig> customerDataSourceList;

}
